<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>访客列表</title>
  <link rel="stylesheet" href="../../css/visitor.css">
  <link rel="stylesheet" href="../../css/tubiao/iconfont.css">
</head>

<body>
  <div class="topBtn"><input type="button" value="添加访客" onclick="openForm()"></div>
  <div class="container" style="margin-top: 5px;">
    <table class="y-table" id="departmentID">
      <tbody>
      </tbody>
    </table>
  </div>
  <div id="bottom">
    <span class="iconfont icon-jiantouzuo" id="reduce"></span>
    <span id="min"></span>/<span id="max"></span>
    <span class="iconfont icon-jiantou" id="plusnum"></span>
  </div>
  <div class="employeeForm">
    <h1><span>表单</span></h1>
    <div>
      <span>姓名:</span><input type="text" id="username">
    </div>
    <div>
      <span>头像图片:</span><input type="file" id="imgBtn">
      <div><img src="" id="img"></div>
    </div>
    <div>
      <span>年龄:</span><input type="text" id="age">
    </div>
    <div>
      <span>到访时间:</span><input type="datetime-local" id="visittime">
    </div>
    <div>
      <span>单位:</span><input type="text" id="company">
    </div>

    <div>
      <span>性别 :</span>
      <input type="radio" name="sex" value="1" >男
      <input type="radio" name="sex" value="0" >女
    </div>
    <div>
      <span>学历:</span><select name="education">
        <option value="高中" selected>高中</option>
        <option value="大专">大专</option>
        <option value="本科">本科</option>
        <option value="研究生">研究生</option>
        <option value="博士">博士</option>
      </select>
    </div>
    <div>
      <span>来访目的:</span><textarea id="visitgoal" width="400" height="140"></textarea>
    </div>
    <div>
      <input type="button" value="提交" id="submit">
      <input type="button" value="关闭" onclick="closeForm()">
    </div>
  </div>
  <script src="../../js/jquery-3.6.0.js"></script>
  <script src="../../js/visitor.js"></script>
</body>

</html>